package com.woniu.hospital.service;

import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.common.core.web.page.TableDataInfo;
import com.ruoyi.common.security.annotation.RequiresPermissions;
import com.woniu.user.domain.Doctor;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient("wolf-user")
public interface IDoctorService {

    @GetMapping("/doctor/dd/{id}")
    Doctor selectById(@PathVariable("id") long id);
    @GetMapping("/doctor/filtrate1/{id}")
    List<Doctor> filtrate1(@PathVariable("id") long id);
    @GetMapping("/doctor/filtrate2/{id}")
    List<Doctor> filtrate2(@PathVariable("id") long id);
}
